home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000272_news@newsmaster….columbia.edu _Thu Jun 5 11:25:58 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA19280
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 5 Jun 1997 11:25:57 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA13402
  7.     for kermit.misc@watsun; Thu, 5 Jun 1997 11:25:57 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Upload file attributes problem (bug)???
  12. Date: 5 Jun 1997 15:25:52 GMT
  13. Organization: Columbia University
  14. Lines: 57
  15. Message-ID: <5n6lq0$d2m$1@newsmaster.cc.columbia.edu>
  16. References: <kwong.865202527@scis>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7123
  19.  
  20.  
  21. : HELP!  
  22. Please don't post 47K debug logs to the newsgroup -- that's what
  23. kermit-support@columbia.edu is for.
  24.  
  25. : Problem:
  26. : --------
  27. : Using Kermit Protocol in Hyperterminal (v1.1 or v3.0, NT4.0 WkSt SvcPk3) to 
  28. : upload a PC file created on 6/1/2038 to a UNIX machine (Solaris 2.4, Ckermit 
  29. : v6.0) will create a file dated 2/1/1970.  
  30. : (To duplicate the problem, simply use the 'date' command to set your PC
  31. : date, create a file and then upload it.)
  32. : However, using Kermit Protocol in MS-DOS Kermit (v3.14, DOS 6.22) to upload 
  33. : a file created on 6/1/2038 to the same Solaris 2.4 machine has no problem.
  34. : The file will create with the current date, which is 6/1/1997.
  35. So then Hyperterminal is busted.  Case closed.
  36.  
  37. : Is there a way to solve this problem on the ckermit 6.0 side ?
  38. :
  39. No.
  40.  
  41. : For me, I can simply touch the file after I upload, but that may not be
  42. : acceptable by some end-users who do not check their PC clock date but 
  43. : blame it on Kermit.
  44. : At the end of this post, I have included the output of the 'stat' command 
  45. : on the two files and the debug log on the two files when I upload.  Hope
  46. : that helps.
  47. It helps us diagnose the problem, but not the other readers of this newsgroup.
  48.  
  49. When you upload with Hyperterminal:
  50.  
  51. Attributes for incoming file [hyp30.txt]
  52.  length in K=0
  53.  file type[]=0
  54.  creation date[19700201 00:00:07]=17
  55.  
  56. When you upload with MS-DOS Kermit:
  57.  
  58. Attributes for incoming file [km314.txt]
  59.  length in K=1
  60.  file type[AMJ]=3
  61.  creation date[20380601 03:31:18]=17
  62.  
  63. Hyperterminal tells C-Kermit the file date is 1970.  It also gets most of
  64. the other attributes wrong.  C-Kermit is behaving exactly as it should, and
  65. the only way it can.  You can work around the problem by telling C-Kermit
  66. to "set attributes off" when receiving files from Hyperterminal.
  67.  
  68. Moral: if you want to use Kermit protocol, use real Kermit software, which
  69. is written by people who care enough about it to get it right.
  70.  
  71. - Frank